package com.ssl.tensquare.recruit.dao;

import com.ssl.tensquare.recruit.pojo.Enterprise;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

/**
 * 描述：
 *
 * @author ssl
 * @create 2019/06/27 15:24
 */
public interface EnterpriseDao extends JpaRepository<Enterprise, String>, JpaSpecificationExecutor<Enterprise> {
    /**
     * 根据热门状态获取企业列表
     *
     * @param isHot
     * @return
     */
    List<Enterprise> findByIshot(String isHot);
}
